Skip to contentSkip to conversation

glLinkProgram locks up for ~30 seconds

Bug 109229 [email protected] 1 participant 9 messages Jan 5, 2019 – Jan 28, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=109229

Bug ID: 109229
Summary: glLinkProgram locks up for ~30 seconds
Product: Mesa
Version: 18.3
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

A recent updated to Manjaro/Arch has caused the Godot Engine to lock up when it calls glLinkProgram.
This appears to be a Mesa 18.3 bug as the issue has started recently and so has 18.3 been rolled out recently in Manjaro.

Here are URL's to bug reports on the Godot forum that should provide further information:
https://github.com/godotengine/godot/issues/24362
https://github.com/godotengine/godot/issues/24783
https://github.com/godotengine/godot/issues/24340

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109229

--- Comment #2 from smt <[email protected]> ---
This issue seems to be affecting me too, some people say it's been fixed in 18.2.3/.4 however I'm running 18.3.1 and definitely have the same symptoms in regards to Godot freezing up, I don't know much so can't be more help, there seems to be some discussion relating to the issue here though:

https://bugzilla.redhat.com/show_bug.cgi?id=1646888

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109229

--- Comment #3 from Timothy Arceri <[email protected]> --- (In reply to smt from comment #2)

Quoted 6 lines

This issue seems to be affecting me too, some people say it's been fixed in 18.2.3/.4 however I'm running 18.3.1 and definitely have the same symptoms in regards to Godot freezing up, I don't know much so can't be more help, there seems to be some discussion relating to the issue here though:

https://bugzilla.redhat.com/show_bug.cgi?id=1646888

Are you sure that is the same bug? That one wasn't a Mesa bug it was a bug in GCC.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109229

--- Comment #4 from smt <[email protected]> ---
(In reply to Timothy Arceri from comment #3)

Quoted 10 lines

(In reply to smt from comment #2)

Quoted 6 lines

This issue seems to be affecting me too, some people say it's been fixed in 18.2.3/.4 however I'm running 18.3.1 and definitely have the same symptoms in regards to Godot freezing up, I don't know much so can't be more help, there seems to be some discussion relating to the issue here though:

https://bugzilla.redhat.com/show_bug.cgi?id=1646888

Are you sure that is the same bug? That one wasn't a Mesa bug it was a bug in GCC.

uh yeah sorry, I think that might be right, the symptoms are all very similar and the versions so close it's getting a little confusing for me to figure it all out to be honest

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109229

Timothy Arceri <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

--- Comment #5 from Timothy Arceri <[email protected]> --- Well I have no idea how to use Godot and couldn't follow the instructions in the linked bug reports. So can someone attach a sample project here and instructions to trigger this problem with it? Thanks.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109229

--- Comment #6 from Fabian <[email protected]> ---
Hi Tim, sorry about the slow reply.

I've added instructions on how to reproduce the problem here:
https://github.com/godotengine/godot/issues/24783#issuecomment-453380560

Download build.zip and it has everything you need in there.

How would I go about bisecting the changes between 18.2 and 18.3 where things went awry?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109229

--- Comment #7 from smt <[email protected]> ---
Created attachment 143144
--> https://bugs.freedesktop.org/attachment.cgi?id=143144&action=edit
apitrace of godot including glLinkProgram lock up

I don't know how useful this is in this situation and I haven't done it before now but I've managed to get an apitrace of it happening inside of Godot, happening around frame 540 or 541 when I enable emission on a material (though the freeze happens on any shader change if it's changing for the first time on that build of Godot), hopefully this can help in some way

Just for clarification I am running 18.3.1 on Arch too

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109229

Timothy Arceri <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEEDINFO                    |NEW
          Component|Drivers/Gallium/radeonsi    |glsl-compiler
           Assignee|[email protected] |[email protected].
                   |.org                        |org
         QA Contact|[email protected] |[email protected]
                   |.org                        |ktop.org

--- Comment #8 from Timothy Arceri <[email protected]> --- Thanks for the extra info and sorry for delay in looking at this.

Fix sent to the list:

https://patchwork.freedesktop.org/patch/281427/

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel